package com.jx.medical.service;

import com.jx.medical.pojo.Factory;
import com.jx.medical.pojo.Instorage;
import com.jx.medical.pojo.Medicine;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

/**
 * @author jx
 * @date Created on 2020/12/4  10:23
 **/

public interface AdminService {
    int insertMedicine(Medicine medicine);
    Medicine getMedicineBymedId(int medId);
    int updateMedStorage(int medId, int medStorage);
    int insertInstorage(Instorage instorage);
    int updateMedicine(Medicine medicine);
    int deleteMedicine(int medId);
    int insertFactory(Factory factory);
    Factory getFactoryByfactoryId(int factoryId);
    int updateFactory(Factory factory);
    int deleteFactory(int factoryId);

}
